package com.caishi.lkx.course.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.caishi.lkx.course.model.LiveModel;
import com.caishi.lkx.user.model.KcLiveUserModel;
import com.zzw.common.entity.BaseService;

import java.util.Map;

public interface ILiveService extends BaseService<LiveModel, String> {
    IPage<LiveModel> liveByColumnIdPage(Page<LiveModel> page, Map<String,Object> param);
    IPage<LiveModel> list(Page<LiveModel> page,Long categoryId);

    LiveModel getDetail(String id);
    int insertLiveUser(String userId,String liveId);
    KcLiveUserModel getLiveUser(String userId,String liveId);

    IPage<LiveModel> list1(Page<LiveModel> page, Map<String, Object> param);
}
